<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="java.util.*,bean.*,java.sql.*" %>
<!DOCTYPE html>
<html>
<head>
    <title>修改课程信息</title>
<%--    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">--%>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">


</head>
<body>
<div class="container mt-4">
    <h3>修改课程信息</h3>
    <form action="updateCourse" method="post">
        <div class="form-group">
            <label for="info">课程:</label>
            <input type="text" class="form-control" id="info" name="info" value="${course.courseInfo}">
        </div>
        <div class="form-group">
            <label for="week">星期:</label>
            <input type="text" class="form-control" id="week" name="week" value="周一" value="${course.week}">
        </div>
        <div class="form-group">
            <label for="lessonStart">开始节次:</label>
            <input type="text" class="form-control" id="lessonStart" name="lessonStart" value="${course.lessonStart}">
        </div>
        <div class="form-group">
            <label for="lessonEnd">结束节次:</label>
            <input type="text" class="form-control" id="lessonEnd" name="lessonEnd" value="${course.lessonEnd}">
        </div>


        <div class="form-group">
            <label for="lessonEnd">周几:</label>
            <input type="text" class="form-control" id="day_of_week" name="day_of_week" value="${course.day_of_week}">
        </div>

        <div class="form-group">
            <label for="lessonEnd">日期:</label>
            <input type="text" class="form-control" id="date" name="date" value="${course.date}">
        </div>
        <div class="form-group">
            <label for="lessonEnd">教师:</label>
            <input type="text" class="form-control" id="teacher" name="teacher" value="${course.teacher}">
        </div>
        <div class="form-group">
            <label for="lessonEnd">地点:</label>
            <input type="text" class="form-control" id="place" name="place" value="${course.place}">
        </div>

        <input type="hidden" name="id" value="${course.id}">
        <button type="submit" class="btn btn-primary">更新</button>
    </form>
</div>

<%--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>--%>
<%--<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>--%>
<%--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>--%>



</body>
</html>

